package top.fzqblog.test

/**
 * Created by 抽离 on 2017/7/28 0028.
 */
fun main(args: Array<String>) {
    print(max(1,2))
    println()
    print(max(11,10))
}

/**
 * 条件表达式
 */
fun max(x:Int, y:Int) = if (x > y) x else y